﻿Public Class DoiTuong

    Private iSoDoiTuong As Integer
    Private sMaDoiTuong As String
    Private sTenDoiTuong As String
    Private iSoLoaiDoiTuong As Integer ''Khóa phụ trong bảng LoaiDoiTuong
    Private sDiaChi As String
    Private sMaSoThue As String
    Private sEmail As String
    Private sDienThoai As String
    Private sFax As String
    Private sWebsite As String
    Private sTKNganHang As String
    Private sDiaChiNganHang As String
    Private sDienGiai As String
    Private dSoNoToiDa As Decimal

    Public Property SoDoiTuong() As Integer
        Get
            Return iSoDoiTuong
        End Get
        Set(ByVal value As Integer)
            iSoDoiTuong = value
        End Set
    End Property

    Public Property MaDoiTuong() As String
        Get
            Return sMaDoiTuong
        End Get
        Set(ByVal value As String)
            sMaDoiTuong = value
        End Set
    End Property

    Public Property TenDoiTuong() As String
        Get
            Return sTenDoiTuong
        End Get
        Set(ByVal value As String)
            sTenDoiTuong = value
        End Set
    End Property

    Public Property SoLoaiDoiTuong() As Integer
        Get
            Return iSoLoaiDoiTuong
        End Get
        Set(ByVal value As Integer)
            iSoLoaiDoiTuong = value
        End Set
    End Property

    Public Property DiaChi() As String
        Get
            Return sDiaChi
        End Get
        Set(ByVal value As String)
            sDiaChi = value
        End Set
    End Property

    Public Property MaSoThue() As String
        Get
            Return sMaSoThue
        End Get
        Set(ByVal value As String)
            sMaSoThue = value
        End Set
    End Property

    Public Property Email() As String
        Get
            Return sEmail
        End Get
        Set(ByVal value As String)
            sEmail = value
        End Set
    End Property

    Public Property DienThoai() As String
        Get
            Return sDienThoai
        End Get
        Set(ByVal value As String)
            sDienThoai = value
        End Set
    End Property

    Public Property Fax() As String
        Get
            Return sFax
        End Get
        Set(ByVal value As String)
            sFax = value
        End Set
    End Property

    Public Property Website() As String
        Get
            Return sWebsite
        End Get
        Set(ByVal value As String)
            sWebsite = value
        End Set
    End Property

    Public Property TKNganHang() As String
        Get
            Return sTKNganHang
        End Get
        Set(ByVal value As String)
            sTKNganHang = value
        End Set
    End Property

    Public Property DiaChiNganHang() As String
        Get
            Return sDiaChiNganHang
        End Get
        Set(ByVal value As String)
            sDiaChiNganHang = value
        End Set
    End Property

    Public Property DienGiai() As String
        Get
            Return sDienGiai
        End Get
        Set(ByVal value As String)
            sDienGiai = value
        End Set
    End Property

    Public Property SoNoToiDa() As Decimal
        Get
            Return dSoNoToiDa
        End Get
        Set(ByVal value As Decimal)
            dSoNoToiDa = value
        End Set
    End Property

End Class
